/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __MESH_INFO_H__
#define __MESH_INFO_H__

#include "NgPrerequisites.h"

#include "OgreMaterialManager.h"
#include "OgreMeshSerializer.h"
#include "OgreSkeletonSerializer.h"
#include "OgreDefaultHardwareBufferManager.h"
#include "OgreTagPoint.h"
#include "OgreAnimationState.h"

#include "NgDataSerializer.h"

namespace PQEngine
{
	class MeshInfo
	{
	private:
		Ogre::MeshSerializer* _meshSerializer;
		Ogre::SkeletonSerializer* _skeletonSerializer;
		Ogre::Entity* _selectedEntity;
	public:
		MeshInfo();
		~MeshInfo();
		GDatagram* init(Ogre::Entity* entity);
		void buildAnimations();
		void buildMaterialTree();

	};
}
#endif
